package com.stgj.controller;

import org.springframework.web.bind.annotation.ModelAttribute;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 * Created by gfj43958 on 2017/5/31.
 * time:15:51
 * author:GuoFangjun
 */
public class BaseController {

    public final boolean SUCCESS = true;
    public final boolean FAILURE = false;

    /*protected HttpServletRequest request;
    protected HttpServletResponse response;
    protected HttpSession session;

    @ModelAttribute
    public void setReqAndRes(HttpServletRequest request, HttpServletResponse response){
        this.request = request;
        this.response = response;
        this.session = request.getSession();
    }*/

}
